.element
{
    position: absolute;
    background: rgb(255, 255, 255) none repeat scroll 0%;
    width: 100px; 
    height: 100px;
    border-style:dotted;
    border-width:1px;
}
.moveHandle
{
    cursor: move;
    opacity: 0.5;
    filter:alpha(opacity=50);
    z-index:3;
}
.resizeHandle
{
    position: absolute;
    width: 5px;
    height: 5px;
    font-size: 1px;
    background: #EEE;
    border: 1px solid #333;
    z-index: 4;
}
.resizeHandleNW
{
    top: -3px;
    left: -3px;
    cursor: nw-resize;
}
.resizeHandleN
{
    top: -3px;
    left: 50%;
    margin-left: -4px;
    cursor: n-resize;
}
.resizeHandleNE
{
    top: -3px;
    right: -3px;
    cursor: ne-resize;
}
.resizeHandleW
{
    top: 50%;
    margin-top: -4px;
    left: -3px;
    cursor: w-resize;
}
.resizeHandleE
{
    top: 50%;
    margin-top: -4px;
    right: -3px;
    cursor: e-resize;
}
.resizeHandleSW
{
    bottom: -3px;
    left: -3px;
    cursor: sw-resize;
}
.resizeHandleS
{
    bottom: -3px;
    left: 50%;
    margin-left: -4px;
    cursor: s-resize;
}
.resizeHandleSE
{
    bottom: -3px;
    right: -3px;
    cursor: se-resize;
}